Object.defineProperty(exports, "__esModule", {
  value: true
});
var $2Plant10 = require("Plant10");
var $2Plant2 = require("Plant2");
var $2Plant21 = require("Plant21");
var $2Plant23 = require("Plant23");
var $2Plant3 = require("Plant3");
var $2Plant4 = require("Plant4");
var $2Plant5 = require("Plant5");
var $2Plant6 = require("Plant6");
var $2Plant8 = require("Plant8");
var $2Plant9 = require("Plant9");
var $2PlantBase = require("PlantBase");
exports.default = /* */function () {
  function _class4() {
    babel_classCallCheck(this, _class4);
  }
  babel_createClass(_class4, null, [{
    key: "addPlantComponent",
    value: function addPlantComponent(e, t) {
      switch (e) {
        case 2:
        case 12:
          t.addComponent($2Plant2.default);
          break;
        case 3:
        case 13:
          t.addComponent($2Plant3.default);
          break;
        case 4:
        case 7:
        case 14:
        case 17:
          t.addComponent($2Plant4.default);
          break;
        case 5:
        case 15:
          t.addComponent($2Plant5.default);
          break;
        case 6:
        case 16:
        case 24:
        case 26:
          t.addComponent($2Plant6.default);
          break;
        case 8:
        case 18:
          t.addComponent($2Plant8.default);
          break;
        case 9:
        case 19:
          t.addComponent($2Plant9.default);
          break;
        case 10:
        case 20:
          t.addComponent($2Plant10.default);
          break;
        case 21:
        case 22:
          t.addComponent($2Plant21.default);
          break;
        case 23:
          t.addComponent($2Plant23.default);
          break;
        default:
          t.addComponent($2PlantBase.default);
      }
    }
  }, {
    key: "getZombieName",
    value: function getZombieName(e) {
      switch (e) {
        case 1:
        case 2:
        case 4:
        case 6:
        case 7:
        case 9:
          return "zombie_2";
        case 16:
          return "zombie_3";
        default:
          return "zombie_1";
      }
    }
  }]);
  return _class4;
}();